package com.woniuxy.service;

import com.woniuxy.commons.utils.ResponseResult;
import com.woniuxy.dto.doctordto;
import com.woniuxy.model.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 医生表 服务类
 * </p>
 *
 * @author litongmiao
 * @since 2022-06-08
 */
public interface IDoctorService extends IService<Doctor> {

    public ResponseResult findAllByPage(long current, long limit);


    ResponseResult findDoctorByPage(long current, long limit,int active,doctordto doctordto);

    ResponseResult findDoctorByName(String name);

    ResponseResult findDoctorSH(long current, long limit);

    ResponseResult findDoctorWSH(long current, long limit);

    ResponseResult deleteDoctor(int id);

    ResponseResult updateFWByid(int id,int status);

    ResponseResult updateZGByid(int id, int status);

    ResponseResult findDoctorById(long id);
}
